package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.EmpContractExample.E_COMPANY_ID;
import static org.jsola.hr.example.EmpContractExample.E_CONTRACT_ID;
import static org.jsola.hr.example.EmpContractExample.E_EMP_ID;
import static org.jsola.hr.example.EmpContractExample.E_END_TIME;
import static org.jsola.hr.example.EmpContractExample.E_NAME;
import static org.jsola.hr.example.EmpContractExample.E_REMARK;
import static org.jsola.hr.example.EmpContractExample.E_START_TIME;
import static org.jsola.hr.example.EmpContractExample.E_TERM_DAY;
import static org.jsola.hr.example.EmpContractExample.E_TERM_MONTH;
import static org.jsola.hr.example.EmpContractExample.E_TERM_YEAR;
import static org.jsola.hr.example.EmpContractExample.E_TYPE;
import static org.jsola.hr.example.EmpContractExample.N_COMPANY_ID;
import static org.jsola.hr.example.EmpContractExample.N_CONTRACT_ID;
import static org.jsola.hr.example.EmpContractExample.N_EMP_ID;
import static org.jsola.hr.example.EmpContractExample.N_END_TIME;
import static org.jsola.hr.example.EmpContractExample.N_NAME;
import static org.jsola.hr.example.EmpContractExample.N_REMARK;
import static org.jsola.hr.example.EmpContractExample.N_START_TIME;
import static org.jsola.hr.example.EmpContractExample.N_TERM_DAY;
import static org.jsola.hr.example.EmpContractExample.N_TERM_MONTH;
import static org.jsola.hr.example.EmpContractExample.N_TERM_YEAR;
import static org.jsola.hr.example.EmpContractExample.N_TYPE;

/**
 * 员工合同信息
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【员工合同信息】列表展示对象")
@Data
public class EmpContractListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_CONTRACT_ID, example = E_CONTRACT_ID)
    private Long contractId;

    @ApiModelProperty(notes = N_EMP_ID, example = E_EMP_ID)
    private String empId;

    @ApiModelProperty(notes = N_TYPE, example = E_TYPE)
    private String type;

    @ApiModelProperty(notes = N_START_TIME, example = E_START_TIME)
    private Date startTime;

    @ApiModelProperty(notes = N_END_TIME, example = E_END_TIME)
    private Date endTime;

    @ApiModelProperty(notes = N_NAME, example = E_NAME)
    private String name;

    @ApiModelProperty(notes = N_TERM_YEAR, example = E_TERM_YEAR)
    private Integer termYear;

    @ApiModelProperty(notes = N_TERM_MONTH, example = E_TERM_MONTH)
    private Integer termMonth;

    @ApiModelProperty(notes = N_TERM_DAY, example = E_TERM_DAY)
    private Integer termDay;

    @ApiModelProperty(notes = N_REMARK, example = E_REMARK)
    private String remark;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    private String companyId;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;



}

